package controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import entity.User;
import service.UserService;
@Controller
public class UserController {
	@Autowired
	private UserService userService;
	public User getUserById(int id) {
		return userService.getUserById(id);
	}
}
